#include "minigun.h"

Minigun::Minigun(MD2Model *weaponModel) : Weapon(weaponModel)
{
	movingAnimationSpeed = 0.06;
	shootingAnimationSpeed = 0.06;
}

void Minigun::draw()
{
	glPushMatrix();
		glLoadIdentity();

		glTranslated(0.1, 0, -0.1);
		glScalef(0.005, 0.005, 0.005);
		glRotated(90, 0, 0, 1);
		glRotated(90, 0, 1, 0);

		weaponModel->draw();
	glPopMatrix();
}